package main

import "fmt"

type Student struct {
	ID   int
	NAME string
	AGE  int
}

func demo(ce []Student) {
	ce[1].AGE = 999
}
func main() {
	var ce []Student
	ce = []Student{
		{1, "xiaoming", 22},
		{2, "xiaoming", 33},
	}
	fmt.Println(ce)
	demo(ce)
	fmt.Println(ce)
}
